package com.project.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "月统计对象")
public class MonthCountBean {
    @ApiModelProperty(value = "月份")
    private String month;
    @ApiModelProperty(value = "年份")
    private String year;
    @ApiModelProperty(value = "类别")
    private String type;
    @ApiModelProperty(value = "销售金额")
    private Integer saleMoney;
    public MonthCountBean() {
    }

    public MonthCountBean(String month, String type, Integer saleMoney) {
        this.month = month;
        this.type = type;
        this.saleMoney = saleMoney;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSaleMoney() {
        return saleMoney;
    }

    public void setSaleMoney(Integer saleMoney) {
        this.saleMoney = saleMoney;
    }

    @Override
    public String toString() {
        return "MonthCountBean{" +
                "month='" + month + '\'' +
                ", type='" + type + '\'' +
                ", saleMoney=" + saleMoney +
                '}';
    }
}
